package com.nbsaas.boot.order.rest.convert;

import com.nbsaas.boot.order.data.entity.OrderReview;
import com.nbsaas.boot.order.api.domain.response.OrderReviewResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 订单评价-实体对象转化成响应对象
*/

public class OrderReviewResponseConvert  implements Converter<OrderReviewResponse,OrderReview> {

    @Override
    public OrderReviewResponse convert(OrderReview source) {
        OrderReviewResponse  result = new  OrderReviewResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

